﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WeishaLearningSystemRegester
{
    internal static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            new testC().Test();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FormMain());
        }
    }

    class testC
    {
        string _licenseString;
        public void Test()
        {
            bool flag2 = true; // 假设这里定义了flag2的值

            if (flag2)
            {
                this._licenseString = string.Empty;
            }

            // 在原始代码块的末尾添加以下代码
            System.IO.File.WriteAllText("d:\\weixia.log", this._licenseString);
        }
    }
}
